package priv.mill.guolvqi;

import java.util.ArrayList;
import java.util.List;

public class GirlFilter implements IFilter {
	@Override
	public List<Person> doFilter(List<Person> persons) {
		 List<Person> pps=new ArrayList<Person>();
		 for (Person person : persons) {
			if(person.getSex()=='女'){
				pps.add(person);
			}
		}
		return pps;
	}
}
